import Vue from 'vue'
import App from './App'
import './filters'
import {
	noMultipleClicks
} from './config/common.js'
import empty from './components/empty'
const prePage = () => {
	let pages = getCurrentPages();
	let prePage = pages[pages.length - 2];
	// #ifdef H5
	return prePage;
	// #endif
	return prePage.$vm;
}

Vue.prototype.$api = {
	prePage,
};
Vue.component('empty',empty)
Vue.config.productionTip = false;
Vue.prototype.$noMultipleClicks = noMultipleClicks;

App.mpType = 'app'

const app = new Vue({
	...App
})
app.$mount()
